﻿using System;
using Autodesk.Revit.DB;

namespace YJKRevitPreview
{
	public struct CurveInfo
	{
		public Curve CurveObj
		{
			get
			{
				return this.m_Curve;
			}
		}

		public PenColor Color
		{
			get
			{
				return this.m_Color;
			}
		}

		public float LineWidth
		{
			get
			{
				return this.m_LineWidth;
			}
		}

		public CurveInfo(CurveInfo rhs)
		{
			this.m_Curve = rhs.CurveObj;
			this.m_Color = rhs.Color;
			this.m_LineWidth = rhs.m_LineWidth;
		}

		public CurveInfo(Curve curve, PenColor color, float lineWidth)
		{
			this.m_Curve = curve;
			this.m_Color = color;
			this.m_LineWidth = lineWidth;
		}

		private Curve m_Curve;

		private PenColor m_Color;

		private float m_LineWidth;
	}
}
